package com.blb.edusearchservice.service;

import com.blb.common.entity.Course;
import com.blb.common.entity.PageEntity;

import java.util.Map;

public interface CourseIndexService {

    /**
     * 初始化课程索引
     */
    void initCourseIndex();

    /**
     * 课程搜索
     * @param map
     * @return
     */
    PageEntity<Course> searchCourse(Map<String,String> map);
}
